home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / PVDRIVER / ORCHFA51.ZIP / INSTALL.DAT < prev    next >
Text File  |  1993-09-04  |  49KB  |  2,142 lines

  1. /*-
  2.   File Name: install.dat
  3.  
  4.   History: Robert Gilsdorf (August 27, 1992) File created
  5.  
  6.   Description: This is a script file that automates the installation process 
  7.            of the Fahrenheit VA display drivers.
  8. */
  9. @DefineProject
  10.     @Name           = "Fahrenheit"
  11.     @Version        = "5.1"
  12.     @Immediate      = 1 
  13.     @Subdir         = "\\"
  14.     @OutDrive       = C
  15.     @AssumeHardDisk = 1
  16. @EndProject
  17.  
  18. @DefineVars
  19.  @Dir @orcdir            = "\\ORCHID\\"
  20.  @Qstring @msgDDI       = "Display Driver Installation"
  21.  @Qstring @msgDrive     = "Please Select Destination Drive:"
  22.  @Qstring @msgDir       = "Please Enter a Directory name or select ENTER to accept default."
  23.  @Qstring @msgPSAV      = "Please Select Version:"
  24.  @Qstring @msgPSAA      = "Please Select an Application:"
  25.  @Qstring @msgPSAO      = "Please Select an Option:"
  26.  @Qstring @msgDDNE      = "does not exist."
  27.  @Qstring @msgCont      = "If you choose to continue, one will be created."
  28.  @Qstring @msgNoFile    = "Some files are missing in your input directory:"
  29.  @Qstring @msgNPI       = "may not be properly installed."
  30.  @Qstring @Reenter      = " Enter Again"
  31.  @Qstring @Cont         = "  Continue  "
  32.  @Qstring @NameWin      = "Microsoft Windows"
  33.  @Qstring @NameCADsys   = "Computer Aided Design"
  34.  @Qstring @NameACAD     = "AutoCAD"
  35.  @Qstring @NameCADKey   = "CADKey"
  36.  @Qstring @NameCADvance = "CADVance"
  37.  @Qstring @NameDataCAD  = "DataCAD"
  38.  @Qstring @NameGenCADD  = "Generic CADD"
  39.  @Qstring @NameMicroCAD = "MicroStation"
  40.  @Qstring @NameVersaCAD = "VersaCAD"
  41.  @Qstring @NameDesk     = "Desktop Publishing"
  42.  @Qstring @NameGem      = "GEM Desktop"
  43.  @Qstring @NameVentura  = "Ventura Publisher"
  44.  @Qstring @NameLotus    = "Lotus 1-2-3"
  45.  @Qstring @NameWord     = "Word Processing"
  46.  @Qstring @NameWP       = "WordPerfect"
  47.  @Qstring @NameMSWord   = "Microsoft Word"
  48.  @Qstring @NameUtil     = "Orchid Utilities"
  49.  @Qstring @NameMore     = "More...."
  50.  @Qstring @NameOS2       = "IBM OS/2"
  51.  @Qstring @NameSCO       = "SCO Unix"
  52.  @Qstring @NameIntractv  = "Interactive Unix"
  53.  @Qstring @NameOtherp    = "Other Orchid Products"
  54.  @Qstring @NameTchsupt   = "Technical Support"
  55.  @Qstring @NameSample    = "Build Voice Notes Playback Diskette" 
  56.  @EndVars
  57.  
  58. @Display
  59. @If (@CheckCard ("c000", "00F6", "Fahrenheit VA") == 1)
  60.   @Goto MenuJumper
  61. @Elseif (@CheckCard ("c000", "011c", "Fahrenheit 1280") == 1)
  62.   @Goto MenuJumper
  63. @Elseif (@CheckCard ("c000", "00F6", "Fahrenheit 1280 Plus") == 1)
  64.   @Goto MenuJumper
  65. @Else
  66.  @Cls
  67.  
  68.         █████████████████ ERROR ████████████████
  69.         █                                      █
  70.         █  An Orchid Fahrenheit video adapter  █
  71.         █  is not detected in your system.     █
  72.         █                                      █
  73.         █  If you choose to continue this      █
  74.         █  installation, the driver may not    █
  75.         █  respond correctly.                  █
  76.         █                                      █
  77.         █  If you are using a Network Server,  █
  78.         █  Just PRESS <ENTER> to continue.     █
  79.         █                                      █
  80.         █  PRESS F3 TO ABORT INSTALLATION      █
  81.         █                                      █
  82.         █                                      █
  83.         █                                      █
  84.         ████████████████████████████████████████
  85.  
  86.  @Pause
  87. @Endif
  88.  
  89.  
  90.     
  91.  
  92. MenuJumper:
  93. @cls
  94. @If (@CheckCard ("C000", "00F6", "Fahrenheit VA") == 1)
  95.  
  96.  
  97.  
  98.  
  99.  
  100.            Orchid Fahrenheit VA Series Video Adapter
  101.  
  102.  
  103.               Display Driver Installation Program
  104.  
  105.  
  106.                    Disk Release 5.1
  107.  
  108.  
  109.  
  110.  
  111.   @Pause
  112. @Elseif (@CheckCard ("C000", "011C", "Fahrenheit 1280") == 1)
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.               Orchid Fahrenheit 1280 Video Adapter
  120.  
  121.  
  122.               Display Driver Installation Program
  123.  
  124.  
  125.                    Disk Release 5.1
  126.  
  127.  
  128.  
  129.  
  130.  
  131.   @Pause
  132.  
  133. @Elseif (@CheckCard ("C000", "00F6", "Fahrenheit 1280 Plus") == 1)
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.            Orchid Fahrenheit 1280 Plus Video Adapter
  141.  
  142.  
  143.               Display Driver Installation Program
  144.  
  145.  
  146.                    Disk Release 5.1
  147.  
  148.  
  149.  
  150.  
  151.   @Pause
  152.  
  153.  
  154. @Cls
  155. @Endif
  156.  
  157. @If (@Chk2e8)
  158.  
  159.         ████████████████ Warning ███████████████
  160.         █                                      █
  161.         █  Fax Modem OR Serial Port OR Scanner █
  162.         █  Adapter is utlizing the I/O port of █
  163.         █  Fahrenheit Video Adapter.           █
  164.         █                                      █
  165.         █  Please reconfigure your Fax Modem   █
  166.         █  OR Serial Port OR Scanner at other  █
  167.         █  I/O port address, i.e. Avoid I/O    █
  168.         █  port address 2e8.                   █
  169.         █                                      █  
  170.         █  Note: If you are using a VESA Local █
  171.         █        BUS card, just continue, no   █               
  172.         █        conflict will occur.          █ 
  173.         █                                      █ 
  174.         █  You may continue the Installation,  █
  175.         █  and reconfigure your I/O port       █
  176.         █  address after Installation is       █
  177.         █  completed.                          █
  178.         █                                      █
  179.         ████████████████████████████████████████
  180. @Pause
  181. @Endif
  182.  
  183. @EndDisplay
  184.  
  185.  
  186.  
  187. @If ("@Indrive"=="C")
  188.     @Display
  189.  
  190.     The Install Program must be run from a Floppy Drive.  Please use the  
  191.     <ESC> key and start over from the Floppy drive.
  192.  
  193.      @Pause
  194.     @Abort
  195.    @EndDisplay
  196. @EndIf
  197.  
  198.  
  199. MenuMain:
  200.  @FlushOptions
  201.  @EnableF1(1)
  202.  @GetOption
  203.  @Cls
  204.   @Option 1000 = "@NameWin"
  205.   @Option 4000 = "@NameLotus"
  206.   @Option 2000 = "@NameCADsys"
  207.   @If (@CheckCard ("c000", "011c", "Fahrenheit 1280") == 1)
  208.    @Option 3000 = "@NameDesk"  
  209.   @Endif
  210.   @Option 5000 = "@NameWord"
  211.   @Option 5500 = "@NameSample"
  212.   @Option 6000 = "@NameUtil"
  213.   @Option 7000 = "@NameMore"
  214.  
  215.  @EndOption
  216.  
  217.  @If (@Esc)
  218.      @Exit
  219.  @Elseif (@KeyF1)
  220.      @Goto MenuMainHelp
  221.  @ElseIf (1000 [= @Option)
  222.      @Goto MenuWin
  223.  @ElseIf (2000 [= @Option)
  224.      @Goto MenuCADsys
  225.  @ElseIf (3000 [= @Option)
  226.      @Goto MenuDesktop
  227.  @ElseIf (4000 [= @Option)
  228.      @Goto MenuLotus
  229.  @ElseIf (5000 [= @Option)
  230.      @Goto MenuWordProcess
  231.  @ElseIf (5500 [= @Option)
  232.      @Goto MenuSample
  233.  @ElseIf (6000 [= @Option)
  234.      @Goto MenuUtility
  235.  @ElseIf (7000 [= @Option)
  236.      @Goto MenuInfo
  237.  @Else
  238.      @Goto MenuMain
  239.  @Endif
  240.  
  241.  
  242. MenuInfo:
  243. @ClearOption(7010)
  244. @ClearOption(7020)
  245. @ClearOption(7030)
  246. @ClearOption(7040)
  247. @ClearOption(7045) 
  248. @ClearOption(7050)
  249.  @EnableF1(0)
  250.  @GetOption
  251.  @Cls
  252.     
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.   @Option 7010 = "@NameOS2"
  266.   @Option 7020 = "@NameSCO"
  267.   @Option 7030 = "@NameIntractv"
  268.   @Option 7040 = "@NameOtherp"
  269.   @Option 7045 = "Other Orchid Video Products"
  270.   @Option 7050 = "@NameTchsupt"
  271.  
  272.  
  273.   @EndOption
  274.  
  275.  
  276.  @If (@Esc)
  277.      @Goto MenuMain
  278. @ElseIf (7010 [=@Option)
  279.      @Help ("@ExePath\\install.hlp", "HelpOS2", "EndOS2")
  280. @ElseIf (7020 [=@Option)
  281.      @Help ("@ExePath\\install.hlp", "HelpSCO", "EndSCO")
  282. @ElseIf (7030 [=@Option)
  283.      @Help ("@ExePath\\install.hlp", "HelpIntractv", "EndIntractv")
  284. @ElseIf (7040 [=@Option)
  285.      @Help ("@ExePath\\install.hlp", "HelpOtherp", "EndOtherp")
  286. @ElseIf (7045 [=@Option)
  287.      @Help ("@ExePath\\install.hlp", "HelpFah", "EndFah")
  288. @ElseIf (7050 [=@Option)
  289.      @Help ("@ExePath\\install.hlp", "HelpTchsupt", "EndTchsupt")
  290.  
  291. @endif
  292. @Goto MenuInfo
  293.  
  294.  
  295.  
  296. MenuMainHelp:
  297.  
  298. @If (1000 [= @Option)  
  299.   @Help ("@ExePath\\install.hlp", "HelpWin", "EndWin")
  300. @ElseIf (4000 [= @Option) 
  301.   @Help ("@ExePath\\install.hlp", "HelpLotus", "HelpLotusInst")
  302. @Elseif (2000 [= @Option) 
  303.   @Help ("@ExePath\\install.hlp", "HelpCADMain", "EndCADMain")
  304. @Elseif (3000 [= @Option) 
  305.   @Help ("@ExePath\\install.hlp", "HelpDeskMain", "EndDeskMain")
  306. @Elseif (5000 [= @Option) 
  307.   @Help ("@ExePath\\install.hlp", "HelpWordPMain", "EndWordPMain")
  308. @Elseif (5500 [= @Option) 
  309.   @Help ("@ExePath\\install.hlp", "HelpCopy", "EndCopy")
  310. @Elseif (6000 [= @Option) 
  311.   @Help ("@ExePath\\install.hlp", "HelpUtilMain", "EndUtilMain")
  312. @Elseif (7000 [= @Option) 
  313.   @Help ("@ExePath\\install.hlp", "HelpMore", "EndMore")
  314. @EndIf   
  315.  
  316. @Goto MenuMain
  317.  
  318.  
  319. MenuWin:
  320.  
  321. @ClearOption (1010) 
  322. @ClearOption (1020)
  323. @EnableF1(1)
  324. @GetOption @Cls
  325.  @NameWin @msgDDI
  326.  @msgPSAO
  327.  @Option 1010 = "Microsoft Windows Standard Installation"
  328.  @Option 1020 = "Microsoft Windows Network Server Installation"
  329. @EndOption
  330.  
  331. @I